package com.example.lvsuo.service.cxg.impl;

import com.example.lvsuo.entity.cxg.vo.AdmComplainVo;
import com.example.lvsuo.service.cxg.IAdmComplainService;
import com.example.lvsuo.entity.cxg.AdmComplain;
import com.example.lvsuo.mapper.cxg.AdmComplainMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 心心念念
 * @since 2021-03-30
 */
@Service
@Transactional
public class AdmComplainServiceImpl extends ServiceImpl<AdmComplainMapper, AdmComplain> implements IAdmComplainService {

    @Autowired
    AdmComplainMapper admComplainMapper;


    @Override
    public List<AdmComplainVo> queryAdmComplain(AdmComplainVo admComplainVo) {
        return admComplainMapper.queryAdmComplain(admComplainVo);
    }
}
